package com.songtai.service;

import com.songtai.po.Message;
import com.songtai.util.Pager;

/**
 * @author 赵中杨
 * @email zhaozhongyang717@gmail.com
 * @date 2010 2010-4-20 下午04:21:49
 */
public interface MessageService {
	/**
	 * 获取全部留言
	 * 
	 * @return
	 */
	public Pager<Message> getAllMessage(int currentPage, int pageSize);

	/**
	 * 删除消息
	 * 
	 * @param mid
	 * @return
	 */
	public int deleteMessage(String mid);

	/**
	 * 添加message
	 * 
	 * @param message
	 */
	public void addMessage(Message message);
}
